package com.iflytek.iot.common.log.log2kafka.model;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author zurun
 * @date 2020/8/11 18:55:48
 */
@Data
@Accessors(chain = true)
public class LogModel {
    private String timestamp;
    private String tName;
    private String level;
    private String className;
    private String traceId;
    private String message;
    /**
     * 应用名
     */
    private String appName;
    /**
     * docker节点名
     */
    private String podName;
    /**
     * 日志排序,根据时间戳排序的顺序不准
     */
    private int logIndex;

    private transient LogType logType = LogType.LOG;

    public static void main(String[] args) {
        int i = Integer.MAX_VALUE;
        System.out.println(i);
        System.out.println(i + 1);
    }
}
